<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>Ext.ux.LoginWindow 1.6 Demo</title>

        <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
        <link rel="stylesheet" type="text/css" href="css/virtualkeyboard.css" />    
        
        <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="../../ext-all.js"></script>
     <script type="text/javascript" src="../../src/locale/ext-lang-pt_BR.js"></script>
		<script type="text/javascript" src="js/util.js"></script>
        <script type="text/javascript" src="js/virtualkeyboard.js"></script>
        <script type="text/javascript" src="js/plugins/virtualkeyboard.js"></script>
        <script type="text/javascript" src="js/Ext.util.md5.js"></script>
        <script type="text/javascript" src="js/Ext.ux.Crypto.SHA1.js"></script>
        
        <script type="text/javascript" src="js/Ext.ux.form.IconCombo.js"></script>
        <script type="text/javascript" src="js/Ext.ux.LoginWindow.js"></script>

    </head>
    <body>
    <script type="text/javascript">
    Ext.BLANK_IMAGE_URL = 'img/s.gif';

Ext.onReady(function() {
                Ext.QuickTips.init();
                var loginWindow = new Ext.ux.LoginWindow({
                    modal : true,
                    constrain: true,
                    encryptType: 'md5', // 'md5' ou 'sha1'
                    //usernameVtype: 'cpf', Se quiser altenticar por cpf descomentar isso
                    width: 435,
                    enableVirtualKeyboard : true,
                    //salt: false,
                    //forceVirtualKeyboard : true,
                    // formBgcolor:'#f9f9f9',
                    defaultLanguage: 'pt_BR',
                    winBanner: 'logo.png',
                    url: 'php/login.php',
                    emailUrl: 'php/login.php',
                    locationUrl: 'main.php',
                    basePath: 'img'
                });

                loginWindow.show();
            });
</script>
    </body>
</html>